html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

body {
	font: normal 14px Tahoma, Geneva, sans-serif;
}

#wrapper{
	height: 100%;
	width: 960px;
	margin: -19px auto;
	box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
}

#header{
	height: 80px;
	background: #fafafa url(../img/logo_bg.png) repeat-x;
}

#header #title{
	color: white;
	text-shadow: 0px 1px 0px #0e3154;
	position: relative;
	top: 25px;
	left: 30px;
    width: 30%;
}

#content{
	padding: 10px 5px;
}

#newsBlock{
	border: 3px solid #777;
	width: 75%;
	float: right;
	margin: 5px 5px;
}

#newsBlock #title{
	background: #777;
	color: white;
	text-shadow: 0px 1px 0px #999;
	padding-left: 5px;
	line-height: 28px;
}

#newsBlock .textMsg{
	background: #fff;
	padding: 5px;

}

#menu-wrapper ul#menu{
	list-style: none;
	background: #565766;
	margin: 0;
	padding: 0;
	height: 32px;
}

#menu-wrapper ul#menu li{
	display: inline;
	float: left;
	height: 32px;
}

#menu-wrapper ul#menu li.right{
	float: right;
}

#menu-wrapper ul#menu li:hover{
	background: #0075c6;
}

#menu-wrapper ul#menu li.active{
	background: #333;
}

#menu-wrapper ul#menu li.active:hover{
	background: #333;
}

#menu-wrapper ul#menu li a{
	color: #FFFFFF;
	text-decoration: none;
	padding: 5px 15px;
	line-height: 32px;
}

#msgBlock{
	border: 1px solid #0075c6;
	margin: 0 auto;
	width: 50%;
}

#msgBlock #title{
	background: #0075c6;
	color: white;
	text-shadow: 0px 1px 0px #0e3154;
	padding-left: 10px;
	line-height: 28px;
}

#msgBlock .textMsg{
	background: #7f7f7f;
	background: rgba(0, 0, 0, 0.5);
	padding: 10px;
}

#loginForm{
    float: right;
    padding: 0 10px;
    margin-top: -40px;
    text-align: right;
}

#loginForm a{
    float: left;
    margin-top: -23px;
}

#userHeadInfo{
    float: right;
    padding: 0 10px;
    margin-top: -20px;
}

#regBox{
    border: 1px solid #000;
    width: 40%;
    text-align: right;
    margin: 0 auto;
}

#errorMsg{
    color: #f00;
}

#chatBox{
    border: 1px solid #000;
    width: 70%;
    margin: 0 auto;
}
